/**
 * Created by Administrator on 2016/9/17 0017.
 */
var myRequest = require("./myRequest.js");
var descrition = require("../settings/descrition.js");
var chapter= require("../settings/chapter.js");
var bookList = require("../settings/biquku/bookList.js");

function getBookList(callback){
    myRequest.sGet(bookList,callback);
}
function getChapterList(url,callback){
    descrition.url = url;
    myRequest.sGet(descrition,callback);
}
function getChapter(url,callback){
    chapter.url = url;
    myRequest.sGet(chapter,callback);
}

exports.getBookList = getBookList;
exports.getChapterList = getChapterList;
exports.getChapter = getChapter;
